package com.picturehistory.core.jersey.util;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="PIN")
public class PIN implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -7563187540798572983L;
	public static final String OK = "OK";
	public static final String FAILED = "FAILED";
	
	private String message;
	
	private String result;
	
	private String pin;
	
	private Date created;
	
	private Date expired;

	
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getPin() {
		return pin;
	}

	public void setPin(String pin) {
		this.pin = pin;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Date getExpired() {
		return expired;
	}

	public void setExpired(Date expired) {
		this.expired = expired;
	}

	@Override
	public String toString() {
		return "PIN [message=" + message + ", result=" + result + ", pin="
				+ pin + ", created=" + created + ", expired="
				+ expired + "]";
	}
	
	
}
